package com.hjx.movie.persistence.system.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * (IvyOrder)实体类
 *
 * @author makejava
 * @since 2020-12-22 14:41:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class IvyOrder implements Serializable {
    private static final long serialVersionUID = 736418897983750797L;
    @TableId
    private Long orderId;
    
    private BigDecimal newPrice;
    
    private BigDecimal oldPrice;
    
    private Integer num;
    
    private String sn;
    
    private Integer status;

    @TableLogic
    private Integer deleted;

    private Long accountId;
    
    private Long movieShowId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
